/*****************************************************************************
	File Name:			HPlayer.h
	Authors:			Marc Willis, Trey Turley, Thomas Lee
	Class Name:			HPlayer
	Description:		Describes a human player in the game Tron.
	Date Modified:		08/07/2010
						-Modifed to adjust to changes in Player class
						08/01/2010
						-File Created
*****************************************************************************/
#ifndef HPLAYER_H
#define HPLAYER_H

#include "Player.h"

const int CTRL_WASD=1;
const int CTRL_IJKL=2;
const int CTRL_ARROWS=0;
const int CTRL_NUM=3;

class HPlayer:public Player
{
protected:
	int ctrlScheme;
public:
/*****************************************************************************
	Function Name:		HPlayer()
	Description:		Default constructor for the HPlayer class, creates a
						HPlayer with default stats
	Input:
		(none)
	Output:
		(none)
*****************************************************************************/
	HPlayer();
/*****************************************************************************
	Function Name:		HPlayer(int,int,int,int,GameMap&)
	Description:		Constructor for the HPlayer class, creates a HPlayer
						with the given stats
	Input:
		int x			x of the player
		int y			y of the player
		int dir			direction of the player
		int color		color of the player
		GameMap &g		GameMap to be referenced
	Output:
		(none)
*****************************************************************************/
	HPlayer(int,int,int,int,GameMap&);
/*****************************************************************************
	Function Name:		HPlayer(int,int,int,int,GameMap&,int)
	Description:		Constructor for the HPlayer class, creates a HPlayer
						with the given stats and control scheme
	Input:
		int x			x of the player
		int y			y of the player
		int dir			direction of the player
		int color		color of the player
		GameMap &g		GameMap to be referenced
		int ctrlScheme	control scheme of the player
	Output:
		(none)
*****************************************************************************/
	HPlayer(int,int,int,int,GameMap&,int);
/*****************************************************************************
	Function Name:		getNextDir()
	Description:		Gets the next direction based on the key pressed
	Input:
		GameMap &g		the GameMap the player is on.
		Player &op		the opposing player
	Output:
		int				the direction
*****************************************************************************/
	void refreshDir();
};
#endif
